// import request from '@/utils/request'
import { fetchToken, fetch } from '@/utils/fetch'

export function getList(params) {
  return fetchToken({
    url: '/table/list',
    method: 'get',
    params
  })
}

//    ============租户管理-列表============

export function brokerList(data) {
  return fetch({
    url: 'http://49.4.7.72/eolinker/server/index.php?g=Web&c=Mock&o=simple&projectID=3&uri=list',
    method: 'get',
    params: data
  })
}


//    ============用户管理-列表============

export function userList(data) {
  return fetch({
	url: 'http://49.4.7.72/eolinker/server/index.php?g=Web&c=Mock&o=simple&projectID=3&uri=userList',
	method: 'get',
	params: data
  })
}
